package com.ysd.modules.app.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysd.modules.app.entity.TestPaper;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author ky
 * @Date  2021/07/13
 * 试卷
 */
@Mapper
public interface TestPapersDao extends BaseMapper<TestPaper> {

    /**
     * 增加试卷
     * @param testPaper
     * @return
     */
    int insertTestPaper(TestPaper testPaper);

    /**
     * 每日一练-获取信息
     * @return
     */
    TestPaper getTestPaperByDate(String nowDate);
}
